local extension = Package:new("kanncards", Package.CardPack)
extension.extensionName = "new_heg"

Fk:loadTranslationTable{
    ["kanncards"]=  "不臣篇卡牌",
}

extension.game_modes_whitelist = {"zhonger_heg_mode", "jin_heg_mode", "tang_heg_mode"}
extension:loadSkillSkelsByPath("./packages/new_heg/pkg/kanncards/skills")

--衍生牌选择是否开启，耦合在敕令里

--号令天下
local rule_the_world = fk.CreateCard{
  name = "&heg_rule_the_world",
  type = Card.TypeTrick,
  skill = "rule_the_world_skill",
}

extension:addCardSpec("heg_rule_the_world", Card.Spade, 12)

--克复中原
local conquering = fk.CreateCard{
  name = "&heg_conquering",
  type = Card.TypeTrick,
  skill = "heg_conquering_skill",
}

extension:addCardSpec("heg_conquering", Card.Diamond, 1)

--固国安邦
local consolidate_country = fk.CreateCard{
  name = "&heg_consolidate_country",
  type = Card.TypeTrick,
  skill = "heg_consolidate_country_skill",
}

extension:addCardSpec("heg_consolidate_country", Card.Heart, 1)

--文和乱武
local chaos = fk.CreateCard{
  name = "&heg_chaos",
  type = Card.TypeTrick,
  multiple_targets = true,
  skill = "heg_chaos_skill",
}

extension:addCardSpec("heg_chaos", Card.Club, 12)

--诏书
local zhaoshu = fk.CreateCard{
  name = "&heg_zhaoshu",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeTreasure,
  skill = "heg_zhaoshu_skill",
  --equip_skill = "heg_zhaoshu_skill",
}

extension:addCardSpec("heg_zhaoshu", Card.Club, 3)

extension:loadCardSkels{
    rule_the_world,
    conquering,
    consolidate_country,
    chaos,
    zhaoshu,
}

return extension